<%@ page pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="isperp" uri="/WEB-INF/tlds/isperp.tld"%>

<form:form commandName="model" cssClass="validate"
	action="app/dict/save">
	<form:hidden path="id" />
	<form:hidden path="typeCode" />
	<form:hidden path="description" />

	<table class=" form-table">
		<tbody>
			<tr style="display: none">
				<td class="td1">类型编码：</td>
				<td class="td2">${model.typeCode }</td>
			</tr>
			<tr style="display: none">
				<td class="td1">描述：</td>
				<td class="td2">${model.description }</td>
			</tr>
			<tr>
				<td class="td1">名称：</td>
				<td class="td2"><form:input path="name" cssClass="required" />
				</td>
			</tr>
			<tr>
				<td class="td1">代码：</td>
				<td class="td2"><form:textarea path="code" cssClass="required" ></form:textarea>
				</td>
			</tr>
			<tr>
				<td class="td1">是否启用：</td>
				<td class="td2"><form:checkbox path="enable" /></td>
			</tr>
			<tr>
				<td class="td1">排列顺序：</td>
				<td class="td2"><form:input path="orderNum" cssClass="number" />
				</td>
			</tr>
		</tbody>
	</table>

</form:form>
<isperp:buttonList>
	<button class="submit"
		onclick="isperp.submitForm();return false;">
		<span class="icon icon-save"></span>提交
	</button>
</isperp:buttonList>
